package com.yizhuoyan.his.dao;

import com.yizhuoyan.his.entity.SysAccountEntity;

import java.util.List;

/**
 * (SysAccount)表数据库访问层
 *
 * @author yizhuoyan@yizhuoyan.com
 * @since 2020-02-20 15:06:17
 */
public interface SysAccountDao extends TemplateDao<Long, SysAccountEntity> {

    //额外方法
    /**
     * 模糊分页查询
     * @param key 查询关键字
     * @param pageNo 页码
     * @param pageSize 每页大小
     * @return
     * @throws Exception
     */
    List<SysAccountEntity> selectByKeyWithPagination(String key, int pageNo, int pageSize) throws Exception;

}